
/* Custom sliding animation */
.carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out; /* Adjust timing */
  }

  /* Fade effect (optional) */
  .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    height: 40rem; /* Reduced height */

  }
  .carousel-item img {
    height: 100%;
    object-fit: contain;
    width: 100%;
  }
  .carousel-item.active {
    opacity: 1;
  }
  .carousel-caption {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 100;
  }
  
  /* Example with scaling or other animations */
  .carousel-item-next,
  .carousel-item-prev,
  .carousel-item.active {
    transition: transform 0.8s ease-in-out; /* Smooth sliding */
  }
  
  /* Keyframes for a custom bounce animation */
@keyframes bounceIn {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  /* Applying the keyframe animation to carousel items */
  .carousel-item {
    animation: bounceIn 1s ease-in-out; /* Change this to your preferred animation */
  
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
  
  
  /* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */
  
  /* Carousel base class */
  .carousel {
    margin-bottom: 4rem;
  }
  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    bottom: 3rem;
    z-index: 10;
  }
  
  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 32rem;     /*I have changed the default parameter, previously it was 32rem*/
  }
  
  
  /* MARKETING CONTENT
  -------------------------------------------------- */
  
  /* Center align the text within the three columns below the carousel */
  .marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  /* rtl:begin:ignore */
  .marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
  }
  /* rtl:end:ignore */
  
  
  /* Featurettes
  ------------------------- */
  
  .featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  /* Thin out the marketing headings */
  /* rtl:begin:remove */
  .featurette-heading {
    letter-spacing: -.05rem;
  }
  
  /* rtl:end:remove */
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
      margin-bottom: 1.25rem;
      font-size: 1.25rem;
      line-height: 1.4;
    }
  
    .featurette-heading {
      font-size: 50px;
    }
  }
  
  @media (min-width: 62em) {
    .featurette-heading {
      margin-top: 7rem;
    }
  }
  }